package it.xiuxian.personcenter.activity

import android.os.Build
import androidx.annotation.RequiresApi
import com.alibaba.android.arouter.facade.annotation.Route
import it.xiuxian.lib.base.ArouterAddress
import it.xiuxian.lib.base.BaseActivity
import it.xiuxian.lib.utils.ToastUtil
import it.xiuxian.personcenter.R
import it.xiuxian.personcenter.databinding.ActivityJiliBinding
import it.xiuxian.personcenter.databinding.ActivityMyDingdanBinding
import it.xiuxian.personcenter.presenter.ZhuXiaoActivityPresenter
@Route(path = ArouterAddress.ZHUXIAOACTIVITY)
class ZhuXiaoActivity:BaseActivity<ZhuXiaoActivityPresenter>() {
    override val layoutId: Int
        get() = R.layout.activity_jili
    override val presenter: ZhuXiaoActivityPresenter
        get() = ZhuXiaoActivityPresenter()

    @RequiresApi(Build.VERSION_CODES.M)
    override fun initView(){
     //var binding = getViewDataBinding<ActivityJiliBinding>()
       /* setTitle("提交订单")
        binding.tvSubmit.setOnClickListener {
            mPresenter!!.subimit(binding.etUsername.text.toString(),binding.etPhone.text.toString(),binding.etNum.text.toString(),binding.etaddress.text.toString())
        }
        binding.include.tvTitle.setTextColor(getColor(R.color.libTextWhite))
        binding.include.leftImg.imageTintList=null*/
        //super.initView()
       var binding = getViewDataBinding<ActivityJiliBinding>()
        setTitle("注销账号")
        binding.tvTuichu.setOnClickListener{
            ToastUtil.showShort("进入注销流程,等待审核!")
        }
    }
}